package com.quwan.manager.service;

import com.quwan.common.result.PageResult;
import com.quwan.entity.TMemberAsk;
import com.quwan.entity.TMemberRecommend;
import com.quwan.entity.TRole;

import java.util.List;

/**
 * @author laozhang
 * @date 2022/2/16
 */
public interface MemberRecommendService {

    /**
     * 获取会员推荐列表 分页
     * @param page
     * @param size
     * @param realName
     * @param nickName
     * @param beginTime
     * @param endTime
     * @return
     */
    PageResult<TMemberRecommend> getMemberRecommendListPage(int page, int size, String realName, String nickName, String beginTime, String endTime);
    /**
     * 获取会员推荐列表
     * @param realName
     * @param nickName
     * @param beginTime
     * @param endTime
     * @return
     */
    List<TMemberRecommend> getMemberRecommendList(String realName, String nickName, String beginTime, String endTime);

    /**
     * 增加会员推荐
     * @param recommend
     * @return
     */
    boolean addMemberRecommend(TMemberRecommend recommend);

    /**
     * 删除会员推荐
     * @param id
     * @return
     */
    boolean delMemberRecommend(Integer id);
}
